import { AppRouteObject } from '#/router.ts';
import Page403 from '@/pages/errors/page403.tsx';
import Page404 from '@/pages/errors/page404.tsx';

const errors: AppRouteObject[] = [
  {
    path: '403',
    meta: {
      hideMenu: true,
      hideBreadcrumb: true,
      key: '/403',
      label: '403',
    },
    element: <Page403 />,
  },
  {
    path: '*',
    element: <Page404 />,
  },
];

export default errors;
